using WebRtcProject.Models;

namespace WebRtcProject.Services
{
    public interface IRoomService
    {
        Task<Room> CreateRoomAsync(string roomName, int maxUsers = 10);
        Task<Room?> GetRoomAsync(string roomId);
        Task<List<Room>> GetAllRoomsAsync();
        Task<bool> AddUserToRoomAsync(string roomId, User user);
        Task<bool> RemoveUserFromRoomAsync(string roomId, string userId);
        Task<bool> DeleteRoomAsync(string roomId);
        Task<List<User>> GetRoomUsersAsync(string roomId);
    }
} 